package net.begincode.blog.impl;

import net.begincode.blog.DemoBiz;
import net.begincode.blog.entity.User;
import net.begincode.blog.service.DemoService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class DemoBizImpl implements DemoBiz {
    @Resource
    private DemoService demoService;
    @Override
    public List<User> queryAll() {
        return demoService.queryAllUser();
    }
}
